package com.guet.issue.service;

import com.guet.common.entity.PageDataVO;
import com.guet.issue.beans.entity.Issue;
import com.guet.issue.beans.vo.IssueDateVO;

/**
 * @author Li
 * @create 2022-12-16-21:45
 */
public interface IIssueService {
    void add(String newIssue, Integer userId);

    void delete(Integer id);

    PageDataVO<Issue> select(Integer userId, String keyWord, Integer pageSize, Integer pageNum);

    void updateSum(int i, Integer issueId);

    Integer selectSum(Integer issueId);

    IssueDateVO selectIssueAndCommentAndUpsum(Integer userId, Integer issueId);
}
